package com.skywolf.chem.achievement.service;

import com.skywolf.chem.achievement.entity.CtSysAchievement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skywolf.chem.achievement.pojo.CtAchievementMatchPageParam;
import com.skywolf.chem.achievement.pojo.CtSysAchievementMatchDto;
import com.skywolf.chem.common.config.data.DataSource;
import com.skywolf.chem.common.config.data.DataSourceNames;
import com.skywolf.chem.common.sysconfig.pojo.vo.PageVO;
import com.skywolf.chem.match.params.page.MatchInfoPageParam;
import com.skywolf.chem.match.params.vo.MatchPageInfoQueryVo;

import java.util.List;

/**
 * <p>
 * 运动成就系统配置表 服务类
 * </p>
 *
 * @author 
 * @since 2021-11-08
 */
public interface ICtSysAchievementService extends IService<CtSysAchievement> {
    /**
     * 根据条件分页查询赛事分页列表
     * @param pageParam
     * @return
     */
    PageVO<CtSysAchievementMatchDto> getMatchPageList(CtAchievementMatchPageParam pageParam);

    void addAchievement(CtSysAchievement ctSysAchievement);

    void updateAchievement(CtSysAchievement ctSysAchievement);

    List<CtSysAchievement> getAll();
}
